import state from '@/store'
export const ishasButton = (app) =>{
    app.directive('has',{
        mounted(el,option){
            if(!state.state.qi_user.info.buttons.includes(option.value)){
                // el.parentNode.removeChild(el)
            }
        }
    })
}